package com.example.crmdemo.Crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("operation")
public class Operation {
    @TableId(value = "o_id", type = IdType.AUTO)
    private Long id;

    @TableField("c_name")
    private String customerName;

    @TableField("o_name")
    private String name;

    @TableField("o_state")
    private String state;

    @TableField("o_area")
    private String area;

    @TableField("o_goods")
    private String goods;

    @TableField("o_workorder_id")
    private String workorderId;

    @TableField("o_workorder_type")
    private String workorderType;

    @TableField("o_workorder_rdate")
    private Date workorderReceiveDate;

    @TableField("o_workorder_returndate")
    private Date workorderReturnDate;

    @TableField("workorder_state")
    private String workorderState;

    @TableField("o_filldate")
    private Date fillDate;

    @TableField("o_datastate")
    private String dataState;

    @TableField("operator")
    private String operator;
}
